|
DX11 SET CBUFFER MATRIX
Sets a matrix value at the given offset of the specified constant buffer.
Make sure that you will not write out of the buffer's bounds; a MATRIX is a 4x4 matrix, which is the
same as sixteen contiguous floats so it will need 4 x 4 x 4 = 64 bytes to store.
DX11 SET CBUFFER MATRIX cbuffer, offset, matrix
cbuffer Dword The constant buffer to set the data for.
offset Dword Offset from the start of the buffer to write the data to.
matrix Dword The matrix to copy to the constant buffer.
This function does not return a value.
CONSTANTBUFFER Functions Menu
DX11 Function Categories
|